strings.byteStringReplacer.replacements (field)
10 uses
strings (current package)
replace.go#L82: if r.replacements[o] == nil {
replace.go#L88: r.replacements[o] = []byte(n)
replace.go#L494: replacements [256][]byte
replace.go#L518: newSize += c * (len(r.replacements[x[0]]) - 1)
replace.go#L526: if r.replacements[b] != nil {
replace.go#L528: newSize += len(r.replacements[b]) - 1
replace.go#L540: if r.replacements[b] != nil {
replace.go#L541: j += copy(buf[j:], r.replacements[b])
replace.go#L555: if r.replacements[b] == nil {
replace.go#L566: nw, err := w.Write(r.replacements[b])
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |